<template>
	<view>
		<u-navbar :safeAreaInsetTop="true" title="开启直播" autoBack bgColor="#ffffff" placeholder>
			
		</u-navbar>
		<view class="con">
			<view class="box">
				<view class="u-flex u-flex-y-center">
					<view class="box__title">
						开启直播
					</view>
					<input type="text" placeholder="请输入" class="box__inp" />
				</view>
				<view class="" style="padding: 75rpx 0;">
					<u-upload :fileList="fileList6" @afterRead="afterRead" @delete="deletePic" name="6" multiple
						:maxCount="1" width="176rpx" height="176rpx">
						<view style="width: 176rpx;height: 176rpx;position: relative;">
							<image src="/static/post/upzb.png" mode=""
								style="width: 176rpx;height: 176rpx;position: absolute;top: 0;left: 0;"></image>
							<view class="box__uptitle">
								添加封面
							</view>
						</view>
					</u-upload>
				</view>
				<view class="box__footer" @click="navto('/pages/goods/selectgoods')">
					<image src="/static/post/smark.png" class="box__footer__icon" mode=""></image>
					<view class="box__footer__name">
						商品带货
					</view>
					<view class="box__footer__text">
						请选择
					</view>
					<image src="/static/task/more.png" class="box__footer__m" mode=""></image>
				</view>
				<u-button :customStyle="{width:'587rpx',height:'93rpx',padding:0,fontSie:'31.02rpx',margin:'99rpx 0 0 35rpx',}"
					shape='circle' color="#FF4D30" text="确认开播"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value1: '',
				fileList6: [],
			};
		}
	}
</script>

<style lang="scss">
	.con {
		padding: 33rpx 30rpx;

		.box {
			padding: 50rpx 20rpx;
			background: #FFFFFF;
			border-radius: 30rpx 30rpx 30rpx 30rpx;
			&__title{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 30rpx;
				color: #010101;
				line-height: 30rpx;
				margin: 0 47rpx 0 6rpx;
			}
			&__inp{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 30rpx;
				color: #333;
				line-height: 30rpx;
				flex: 1;
			}
			&__uptitle{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #B8B6B6;
				line-height: 24rpx;
				position: relative;
				text-align: center;
				padding-top: 105rpx;
			}
			&__footer{
				display: flex;
				align-items: center;
				padding-left: 4rpx;
				// padding: 0 10rpx 28rpx 30rpx;
				&__icon{
					width: 33rpx;
					height: 33rpx;
					margin-right: 17rpx;
				}
				&__name{
					font-family: PingFang-SC, PingFang-SC;
					font-weight: bold;
					font-size: 30rpx;
					color: #090909;
					line-height: 30rpx;
					flex: 1;
				}
				&__text{
					font-family: PingFang-SC, PingFang-SC;
					font-weight: bold;
					font-size: 28rpx;
					color: #929292;
					line-height: 28rpx;
				}
				&__m{
					width: 14rpx;
					height: 22rpx;
					margin-left: 17rpx;
				}
			}
		}
	}
</style>